<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>提交成功</title>
<%@ include file="/common/meta.jsp"%>
<script type="text/javascript">
	$(document).ready(function(){
		if("${grantCode}"=="75"){
			$("#td_msg").html('您的网上申报书已经成功提交到市主管部门，请密切留意系统通知。');
		}else{
		<security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
		var flag_shizhi = parent.$("#flag_shizhi").val();
		if(flag_shizhi=='1'){
			$("#td_msg").html('您的网上申报书已经成功提交到市主管部门，请密切留意系统通知。');
		}
		</security:authorize>
		<security:authorize ifNotGranted="A_DAILU_PROPOSAL">
		var flag_shizhi = parent.$("#flag_shizhi").val();
		if(flag_shizhi=='1'){
			$("#td_msg").html('您的网上申报书已经提交，请联系您的单位管理员进行网上审核，上报给市主管部门。');
		}
		</security:authorize>
		}
		parent.$("#TB_closeWindowButton").hide();//隐藏默认关闭按钮
		var roleId = ${roleId}
		$("#list").click(function(){
			
			/* if("${subGrantCode}"=="648"){
				
				parent.window.location.href="${ctx}/proposal/prp-edit-list?grantCode=${grantCode}&subGrantCode=${subGrantCode}&menuId=${menuId}";
			}else{ */	
			var isagent = $("#isagent").val();
			if(isagent == "1"){
				parent.window.location.href="${ctx}/tech-ctr/technology-agent-list?type=init";
			}else{
				parent.window.location.href="${ctx}/tech-ctr/record-technology-list";
			}
			/* } */
			parent.tb_remove();
			
		})
	})
</script>
</head>
<body>
	<table align="center">
		<tr>
			<td width="60" height="60" align="center"><input type="image" src="${res}/images/tu02.gif" /></td>
			<td style="color:#cc6600; font-size: 14px; font-weight: bold;" id="td_msg">您的技术合同已经提交。<br/></td>
		</tr>
		<tr>
			<td colspan="2" align="center" height="30">
			<input type="hidden" id="isagent" value="${isagent}"/>
			<input type="button" class="button_01" value="返回技术合同填写列表" id="list" />
			
			
			</td>
		</tr> 
	</table>
</body>
</html>